<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNN: include/ImageProcess.hpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNN
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ImageProcess.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_image_process_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  ImageProcess.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  MNN</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by MNN on 2018/09/19.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2018, Alibaba Group Holding Limited</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef ImageProcess_hpp</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define ImageProcess_hpp</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_error_code_8hpp.html">ErrorCode.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_matrix_8h.html">Matrix.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_tensor_8hpp.html">Tensor.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_m_n_n.html">MNN</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html">   17</a></span>&#160;<span class="keyword">namespace </span>CV {</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">   18</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">   19</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a> = 0,</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d">   20</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d">RGB</a>,</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae">   21</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae">BGR</a>,</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114">   22</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114">GRAY</a>,</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979">   23</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979">BGRA</a>,</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca">   24</a></span>&#160;    <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca">YUV_NV21</a> = 11,</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;};</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9af0b943380203b18e0f6ffde6ca85b687">   27</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9">Filter</a> { <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9af0b943380203b18e0f6ffde6ca85b687">NEAREST</a> = 0, <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9a98ea305ff2e46c4dfef854003a5f41a7">BILINEAR</a> = 1, <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9abc021ec23e5aad581cfb4afca000524a">BICUBIC</a> = 2 };</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448a1187a64fb83eeaa2c6f1cada5f9fbff5">   29</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448">Wrap</a> { <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448af9d4193128882c34076019508fa44ed1">CLAMP_TO_EDGE</a> = 0, <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448a1187a64fb83eeaa2c6f1cada5f9fbff5">ZERO</a> = 1, <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448aea1a3f27f18c4ee3685d6ff821b6b595">REPEAT</a> = 2 };</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_m_n_n_1_1_c_v_1_1_image_process.html">   38</a></span>&#160;<span class="keyword">class </span><a class="code" href="_m_n_n_define_8h.html#a692428e2a0af8ffb79376d223a0695ab">MNN_PUBLIC</a> <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a> {</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keyword">struct </span>Inside;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">   41</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">Config</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#a17ea576bc5c72a6150f71355f1bcb84e">   43</a></span>&#160;        <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9">Filter</a> filterType = <a class="code" href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9af0b943380203b18e0f6ffde6ca85b687">NEAREST</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#aef0bbf60114b93a84b895182169384a3">   45</a></span>&#160;        <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> sourceFormat = <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#a5ae4b5b53690e53e4a5d118cc7dc7633">   47</a></span>&#160;        <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> destFormat = <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="comment">// Only valid if the dest type is float</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#a2d409e9d24e3e7c3757309203b73c72d">   50</a></span>&#160;        <span class="keywordtype">float</span> mean[4]   = {0.0f, 0.0f, 0.0f, 0.0f};</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#a7310fb14179b5ba3c6ad7cf2a0cfe250">   51</a></span>&#160;        <span class="keywordtype">float</span> normal[4] = {1.0f, 1.0f, 1.0f, 1.0f};</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html#a14c6cffa781524d18319514a559f0290">   54</a></span>&#160;        <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448">Wrap</a> wrap = <a class="code" href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448af9d4193128882c34076019508fa44ed1">CLAMP_TO_EDGE</a>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    };</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>* create(<span class="keyword">const</span> <a class="code" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">Config</a>&amp; config, <span class="keyword">const</span> <a class="code" href="class_m_n_n_1_1_tensor.html">Tensor</a>* dstTensor = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>* create(<span class="keyword">const</span> <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> sourceFormat = <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>, <span class="keyword">const</span> <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> destFormat = <a class="code" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>,</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                                <span class="keyword">const</span> <span class="keywordtype">float</span>* means = <span class="keyword">nullptr</span>, <span class="keyword">const</span> <span class="keywordtype">int</span> meanCount = 0, <span class="keyword">const</span> <span class="keywordtype">float</span>* normals = <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                                <span class="keyword">const</span> <span class="keywordtype">int</span> normalCount = 0, <span class="keyword">const</span> <a class="code" href="class_m_n_n_1_1_tensor.html">Tensor</a>* dstTensor = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    ~<a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>();</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a052e576273c66805849e8b4a0137fa2a">   87</a></span>&#160;    <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a>&amp; <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a052e576273c66805849e8b4a0137fa2a">matrix</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordflow">return</span> mTransform;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">void</span> setMatrix(<span class="keyword">const</span> <a class="code" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a>&amp; matrix);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a> convert(<span class="keyword">const</span> uint8_t* source, <span class="keywordtype">int</span> iw, <span class="keywordtype">int</span> ih, <span class="keywordtype">int</span> stride, <a class="code" href="class_m_n_n_1_1_tensor.html">Tensor</a>* dest);</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="class_m_n_n_1_1_c_v_1_1_image_process.html#aee310b58abf2332d78cc59a14281e5bc">  112</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_m_n_n_1_1_tensor.html">Tensor</a>* <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html#aee310b58abf2332d78cc59a14281e5bc">createImageTensor</a>(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> bpp, <span class="keywordtype">void</span>* p = <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keywordflow">return</span> createImageTensor(halide_type_of&lt;T&gt;(), w, h, bpp, p);</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    }</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_m_n_n_1_1_tensor.html">Tensor</a>* createImageTensor(<a class="code" href="structhalide__type__t.html">halide_type_t</a> type, <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> bpp, <span class="keywordtype">void</span>* p = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <a class="code" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>(<span class="keyword">const</span> Config&amp; config);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <a class="code" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a> mTransform;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <a class="code" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a> mTransformInvert;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    Inside* mInside;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;};</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;} <span class="comment">// namespace CV</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;} <span class="comment">// namespace MNN</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ImageProcess_hpp */</span><span class="preprocessor"></span></div><div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a1d5cd4fdb584830e00634c34e9858ac9"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9">MNN::CV::Filter</a></div><div class="ttdeci">Filter</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:27</div></div>
<div class="ttc" id="class_m_n_n_1_1_c_v_1_1_image_process_html"><div class="ttname"><a href="class_m_n_n_1_1_c_v_1_1_image_process.html">MNN::CV::ImageProcess</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:38</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa39da6755ff5da1e0ee619bfac29d15ae">MNN::CV::BGR</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:21</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa4148842cc5aa937b19abf3f339f52114">MNN::CV::GRAY</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:22</div></div>
<div class="ttc" id="_error_code_8hpp_html"><div class="ttname"><a href="_error_code_8hpp.html">ErrorCode.hpp</a></div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa910921c2a137cbe20b24e12f33315aca">MNN::CV::YUV_NV21</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:24</div></div>
<div class="ttc" id="_matrix_8h_html"><div class="ttname"><a href="_matrix_8h.html">Matrix.h</a></div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_abdb35796ab551a8d282726ff1cbcb448af9d4193128882c34076019508fa44ed1"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448af9d4193128882c34076019508fa44ed1">MNN::CV::CLAMP_TO_EDGE</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:29</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_abdb35796ab551a8d282726ff1cbcb448"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448">MNN::CV::Wrap</a></div><div class="ttdeci">Wrap</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:29</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_abdb35796ab551a8d282726ff1cbcb448aea1a3f27f18c4ee3685d6ff821b6b595"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448aea1a3f27f18c4ee3685d6ff821b6b595">MNN::CV::REPEAT</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:29</div></div>
<div class="ttc" id="class_m_n_n_1_1_c_v_1_1_image_process_html_aee310b58abf2332d78cc59a14281e5bc"><div class="ttname"><a href="class_m_n_n_1_1_c_v_1_1_image_process.html#aee310b58abf2332d78cc59a14281e5bc">MNN::CV::ImageProcess::createImageTensor</a></div><div class="ttdeci">static Tensor * createImageTensor(int w, int h, int bpp, void *p=nullptr)</div><div class="ttdoc">create tensor with given data.</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:112</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a1d5cd4fdb584830e00634c34e9858ac9af0b943380203b18e0f6ffde6ca85b687"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9af0b943380203b18e0f6ffde6ca85b687">MNN::CV::NEAREST</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:27</div></div>
<div class="ttc" id="class_m_n_n_1_1_tensor_html"><div class="ttname"><a href="class_m_n_n_1_1_tensor.html">MNN::Tensor</a></div><div class="ttdef"><b>Definition:</b> Tensor.hpp:25</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a1d5cd4fdb584830e00634c34e9858ac9a98ea305ff2e46c4dfef854003a5f41a7"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9a98ea305ff2e46c4dfef854003a5f41a7">MNN::CV::BILINEAR</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:27</div></div>
<div class="ttc" id="_m_n_n_define_8h_html_a692428e2a0af8ffb79376d223a0695ab"><div class="ttname"><a href="_m_n_n_define_8h.html#a692428e2a0af8ffb79376d223a0695ab">MNN_PUBLIC</a></div><div class="ttdeci">#define MNN_PUBLIC</div><div class="ttdef"><b>Definition:</b> MNNDefine.h:53</div></div>
<div class="ttc" id="class_m_n_n_1_1_c_v_1_1_matrix_html"><div class="ttname"><a href="class_m_n_n_1_1_c_v_1_1_matrix.html">MNN::CV::Matrix</a></div><div class="ttdef"><b>Definition:</b> Matrix.h:48</div></div>
<div class="ttc" id="structhalide__type__t_html"><div class="ttname"><a href="structhalide__type__t.html">halide_type_t</a></div><div class="ttdef"><b>Definition:</b> HalideRuntime.h:82</div></div>
<div class="ttc" id="namespace_m_n_n_html"><div class="ttname"><a href="namespace_m_n_n.html">MNN</a></div><div class="ttdef"><b>Definition:</b> AutoTime.hpp:16</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa9aab41d92b9244902585183433d3f87d">MNN::CV::RGB</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:20</div></div>
<div class="ttc" id="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config_html"><div class="ttname"><a href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">MNN::CV::ImageProcess::Config</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:41</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_abdb35796ab551a8d282726ff1cbcb448a1187a64fb83eeaa2c6f1cada5f9fbff5"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#abdb35796ab551a8d282726ff1cbcb448a1187a64fb83eeaa2c6f1cada5f9fbff5">MNN::CV::ZERO</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:29</div></div>
<div class="ttc" id="_tensor_8hpp_html"><div class="ttname"><a href="_tensor_8hpp.html">Tensor.hpp</a></div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">MNN::CV::RGBA</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:19</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa5de39e24d279c464d822ad9f3bd03979">MNN::CV::BGRA</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:23</div></div>
<div class="ttc" id="namespace_m_n_n_html_a6814f7688a6a1ba4245f3ec5f4773241"><div class="ttname"><a href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">MNN::ErrorCode</a></div><div class="ttdeci">ErrorCode</div><div class="ttdef"><b>Definition:</b> ErrorCode.hpp:13</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a049bf04355097a618e8b48a11ef02eda"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">MNN::CV::ImageFormat</a></div><div class="ttdeci">ImageFormat</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:18</div></div>
<div class="ttc" id="namespace_m_n_n_1_1_c_v_html_a1d5cd4fdb584830e00634c34e9858ac9abc021ec23e5aad581cfb4afca000524a"><div class="ttname"><a href="namespace_m_n_n_1_1_c_v.html#a1d5cd4fdb584830e00634c34e9858ac9abc021ec23e5aad581cfb4afca000524a">MNN::CV::BICUBIC</a></div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:27</div></div>
<div class="ttc" id="class_m_n_n_1_1_c_v_1_1_image_process_html_a052e576273c66805849e8b4a0137fa2a"><div class="ttname"><a href="class_m_n_n_1_1_c_v_1_1_image_process.html#a052e576273c66805849e8b4a0137fa2a">MNN::CV::ImageProcess::matrix</a></div><div class="ttdeci">const Matrix &amp; matrix() const</div><div class="ttdoc">get affine transform matrix.</div><div class="ttdef"><b>Definition:</b> ImageProcess.hpp:87</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
